package com.cmz.dao;

import com.cmz.bean.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author summer
 * @create 2020-04-13 16:16
 */
public interface EmpDao {
    public Emp seletEmpByEmpno1(Integer empno);
    public Emp seletEmpByEmpno(Integer empno);
    public Emp selectEmpByStep(Integer empno);
//    public List<Emp> selectEmpByStep2(Integer empno);
    public Emp selectEmpByStep2(Integer deptno);

    public List<Emp> selectEmpByCondition(Emp emp);
    public List<Emp> selectEmpByDeptnos(@Param("cmzdeptnos") List<Integer> deptnos);

    public Integer update(Emp emp);
}
